package ic.symbols;

/**
 * Created with IntelliJ IDEA.
 * User: Matan
 * Date: 12/10/13
 * Time: 11:13 AM
 */
public abstract class Symbol {

    protected String id;
    protected SymbolType symbolType;
    protected int line;

    public Symbol(String id, SymbolType symbolType, int line) {
        this.id = id;
        this.symbolType = symbolType;
        this.line = line;
    }

    public String getID() {
        return this.id;
    }

    public SymbolType getSymbolType() {
        return this.symbolType;
    }

    public int getLine() {
        return this.line;
    }

    public void setLine(int line) {
        this.line = line;
    }
}

